<div class="breadcrum">
    <p>
        <a href="#">Settings</a><span></span>
        <a href="{$config->site_url('pengaturan/permissions')}">Permissions</a><span></span>
        <small>Edit Data</small>
    </p>
    <div class="clear"></div>
</div>
<!-- notification template -->
{include file="base/templates/notification.html"}
<!-- end of notification template-->
<form action="{$config->site_url('pengaturan/permissions/edit_process')}" method="post">
    <input name="user_id" type="hidden" value="{$result.user_id|default:''}" />
    <table class="table-input" width="100%">
        <tr class="headrow">
            <th colspan="2">Data Personel</th>
        </tr>
        <tr>
            <td width="15%">Nama Lengkap</td>
            <td width="85%"><b>{$result.nama_lengkap|default:''}</b></td>
        </tr>
        <tr>
            <td>Alamat</td>
            <td><b>{$result.alamat|default:''}</b></td>
        </tr>
        <tr>
            <td>Email</td>
            <td><b>{$result.user_mail|default:''}</b></td>
        </tr>
        <tr>
            <td>Telepon</td>
            <td><b>{$result.no_telp|default:''}</b></td>
        </tr>
        <tr>
            <th colspan="2">Permissions</th>
        </tr>
        <tr>
            <td>Hak akses karyawan</td>
            <td>
                <select name="role_id">
                    <option></option>
                    {foreach from=$rs_roles item=data}
                    <option value="{$data.role_id}" {if $result.role_id|default:'' eq $data.role_id}selected="selected"{/if}>{$data.role_nm}</option>
                    {/foreach}
                </select>
            </td>
        </tr>
        <tr class="submit-box">
            <td colspan="2">
                <input type="submit" name="save" value="Simpan" class="edit-button" />
                <input type="reset" name="save" value="Reset" class="edit-button" />
            </td>
        </tr>
    </table>
</form>